package com.wx.activitys.drp.mapper;

import java.util.List;
import java.util.Map;

import com.wx.activitys.drp.model.BAdmin;


public interface BAdminMapper {
	/**
	 * 查询用户
	 */
	List<BAdmin> selectAdminByMap(Map<String,Object> parameter);

	int insertAdmin(BAdmin admin);
	
	int updateAdmin(BAdmin admin);
	
	int deleteAdminByPrimaryKey(int id);
	
	BAdmin selectByPrimaryKey(Integer id);
	
	int countAdminByMap(Map<String, Object> parameter);
	
	int updateAdminByEntity(BAdmin admin);

}